package top.atluofu.luofuecommerce.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import top.atluofu.common.utils.R;

/**
 * @ClassName: ProductFeignService
 * @description: TODO
 * @author: 有罗敷的马同学
 * @datetime: 2022Year-11Month-25Day-11:12
 * @Version: 1.0
 */
@FeignClient("luofuecommerce-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
